package main

import (
	"zxs-micro-2/zxs-micro-business-server/report/config"
	"zxs-micro-2/zxs-micro-business-server/service"
)

func main() {
	cfg := new(config.BusinessConfig)
	cfg.ServerConfig = config.Server{
		ServerName: "name",
		ServiceConfig: []config.Service{
			config.Service{
				Route:    "business_test1",
				Port:     ":10001",
				Timeout:  "15000",
				Protocol: "grpc",
			},
		},
	}
	service.InitBusinessCommonService(*cfg)
	service.StartServer()
}
